package com.mornd.gulimall.product.entity.vo.skuitem;

import com.mornd.gulimall.apis.coupon.to.SeckillSkuRelationTo;
import com.mornd.gulimall.product.entity.SkuInfo;
import lombok.Getter;
import lombok.Setter;

import java.util.Collections;
import java.util.List;

/**
 * @author: mornd
 * @dateTime: 2023/8/16 - 13:00
 */

@Getter
@Setter
public class SkuItemResult {
    // sku 详情
    private SkuInfo info;

    private boolean hasStock = true;

    // 图片信息
    private List<String> images = Collections.emptyList();

    // 商品介绍图片
    private List<String> spuDescImages = Collections.emptyList();

    // 销售属性
    private List<ItemSales> saleAttrs = Collections.emptyList();
    // 基本属性
    private List<GroupNamesWithAttrs> groupBaseAttrs = Collections.emptyList();

    /**
     * 秒杀相关信息
     */
    private SeckillSkuRelationTo seckillInfo;

    // 提示信息
    private String tips;

    // 当前是否在秒杀区间
    private Boolean seckillArea;
}
